<template>
  <h2>Home</h2>
</template>

<script>
import {onUnmounted, onMounted} from 'vue';
import {useRouter} from 'vue-router'
export default {
    name: "home",
    setup() {
        onUnmounted(() => {
            console.log('home unmounted');
        });
        onMounted(() => {
            console.log('home mounted');
        });
    }
}
</script>

<style>

</style>